﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${base}/res/front/css/sytle/register.css" rel="stylesheet" type="text/css" />
<link href="../../res/front/css/sytle/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../res/front/js/js/jquery-1.5.1.js"></script>
<script type="text/javascript" src="../../res/front/js/js/jquery.validate.js"></script>
<link rel="shortcut icon" type="image/x-icon" href="${base}/res/front/img/imagesForFront/favicon.ico" />
<script language="javascript">
	$(function(){
		$('.register_frame').hover(
			function(){
				$(this).addClass('register_hover');
			},
			function(){
				$(this).removeClass('register_hover');
			}
		);
		//$("#jvForm").validate();
		
		$('#jvForm').validate({
			rules:{
				loginname:{required: true,remote:'check_loginname.jspx'},
				passwd:{required: true},
				passwdAgain:{equalTo: "#pass"},
				captcha:{required: true}
			},
			messages:{
				loginname:{required: "请填写用户名",remote:'该账户已被使用'},
				passwd:{required: "请填写密码"},
				passwdAgain:{equalTo: "两次输入的密码不一致"},
				captcha:{required: "请填写验证码"}
			}	
		});
	});
</script>
<style>
	label.error{color:#F00; font-size:16px;}
</style>
<title>用户注册 - ${title}</title>
</head>

<body>
	<div class="register_centre">
    	<div class="register_company">
        	<!-- logo -->
        	<div class="register_logo"><a href="/index.html"><img src="${base}/res/front/img/imagesForFront/logo.png" border="0" /></a></div>
            <div class="register_login">
            	<span style="margin-right:140px;"><a href="/index.html" style="color:#FF9A00;">首页</a></span>
            	<span><a href="/member/login.jspx" style="color:#FF9A00;">账户登录</a></span>
            </div>
        </div>
        <!-- 中部 -->
        <div class="register_middle">
            <!-- 注册div -->
            <div class="register_div">
            	<div class="register_title_bg_11">
                    <div class="register_title_user">账户注册</div>
                </div>
                <div class="register_title_bg_12"></div>
                <div class="register_tab">
                	<form action="" method="post" id="jvForm" style="margin-top:20px;">
                    	<div class="register_inputDiv">
                        	<div class="register_tex1">账户</div>
                            <div class="register_frame register_typeDiv_1">
                                <span class="register_user_bg">
                                    <span style="margin-left:35px; width:245px;">
                                        <input type="text" id="uesr" name="loginname" class="register_user_inp required" value="${tmember.loginname!}"/>
                                    </span>
                                </span>
                            </div>
                            <div style="clear:both;"></div>
                        </div>
                        <div class="register_inputDiv">
                            <div class="register_tex1">密码</div>
                            <div class="register_frame register_typeDiv_1">
                                <span class="register_pass_bg">
                                    <span style="margin-left:35px; width:100px;">
                                        <input type="password" id="pass" name="passwd" class="register_pass_inp input2 required" value="" />
                                    </span>
                                </span>
                             </div>
                             <div style="clear:both;"></div>
                        </div>
                        <div class="register_inputDiv">
                        	<div class="register_tex2">重复密码</div>
                            <div class="register_frame register_typeDiv_2">
                                <span class="register_pass_bg">
                                    <span style="margin-left:35px; width:245px;">
                                        <input type="password" id="passwdAgain" name="passwdAgain" equalto="#pass" class="register_pass_inp input2" value="" />
                                    </span>
                                </span>
                             </div>
                             <div style="clear:both;"></div>
                    	</div>
                        <div class="register_inputDiv">
                            <#if errors??>
                                <#list errors as error>
                                	<div style="color:red;margin-left:180px;">${error}</div>
                                </#list>
                            </#if>
                        	<div class="register_tex3">验证码</div>
                            <div class="register_frame register_typeDiv_3">
                                <span class="register_code_bg">
                                    <span style="margin-left:35px; width:100px;">
                                        <input type="text" id="" name="captcha" class="register_code_inp required" value="" />
                                    </span>
                                </span>
                            </div>
                            <div class="register_captcha_div">
                            	<img id="guestbookCaptcha" onclick="this.src='${base}/captcha.svl?d='+new Date()" alt="" src="${base}/captcha.svl" />
                            </div>
                            <div style="clear:both;"></div>
                    	</div>
                        <div style="width:450px;">
                        	<div class="register_tex4">
                            	<input type="radio" name="usertype" value="1" checked="checked" />我要投资
                            </div>
                            <div class="register_tex5">
                            	<input type="radio" name="usertype" value="2" />我要融资
                            </div>
                            <div style="width:390px; text-align:right;">
                            	<input type="checkbox" name="" value="" checked="checked"/>
                                <label style="font-size:16px;">
                                	我已阅读并同意&nbsp;<a href="/贷一贷网站服务协议.html" style="color:#FF9A00; font-weight:bold;" target="block">《贷一贷网站服务协议》</a>
                                </label>
                            </div>
                            <div><input type="submit" class="register_sub_inp" value="注   册" /></div>
                    	</div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- 底部 footer.html 
   <iframe src="footer.html" width="100%" height="240" frameborder="0" scrolling="no" style="min-width:1200px;"></iframe>
   -->
   <#include "/front/common/footer.html"/>
</body>
</html>
